<template>
  <div class="add-contact-page">
     <div class="content" v-html="queryInfo.content"></div>
  </div>
</template>
<script>
export default {
  data () {
    return {
      form: {},
      queryInfo: {}
    };
  },
  created() {
    this.queryModels();
  },
  methods: {
    queryModels () {
      this.$loading('加载中');
      this.$api.app.queryModels({ alias: this.$route.params.alias }).then(res => {
        this.queryInfo = res;
        this.$store.dispatch('setPageTitle', res.name);
        this.$loading.close();
      }).catch((data) => {
        this.$loading.close();
      });
    }
  }
};
</script>
<style lang="less" scoped>
  .content{
    padding: 15px;
    line-height:25px;
    color:#666;
    font-size:14px;
  }
</style>
